gdk: Include gio.h in gdktypes.h
authorBenjamin Otte <otte@redhat.com>
Tue, 5 Dec 2017 14:44:00 +0000 (15:44 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 10 Dec 2017 00:09:14 +0000 (01:09 +0100)
It's where we include all our external dependencies.

This way, we don't have to include it in all headers again and again.

gdk/gdkapplaunchcontext.h
gdk/gdkapplaunchcontextprivate.h
gdk/gdkcontentdeserializer.h
gdk/gdkcontentprovider.h
gdk/gdkcontentserializer.h
gdk/gdkinternals.h
gdk/gdktypes.h

index 9c9d739bbaa122ea7a919ffaed431e8c3d51a5d7..a99ebefbb63123277f525240f67f0dd2202e54bb 100644 (file)
@@ -25,7 +25,6 @@
 #error "Only <gdk/gdk.h> can be included directly."
 #endif
 
-#include <gio/gio.h>
 #include <gdk/gdkversionmacros.h>
 #include <gdk/gdktypes.h>
 
index bfb392598aaf60d6eaa3600a17e23cebc546d4b5..9a2bb7199b33e3c1a038af2f920e312f701c9357 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__
 #define __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__
 
-#include <gio/gio.h>
 #include "gdkapplaunchcontext.h"
 #include "gdktypes.h"
 
index 671d5409c996f77221a4d33c4bed5a89cc375870..b08d4983a30d64b22344e0dfb08e13df628fa3a8 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <gdk/gdkversionmacros.h>
 #include <gdk/gdktypes.h>
-#include <gio/gio.h>
 
 G_BEGIN_DECLS
 
index 1ce1962397944af1266999bc711e4461bfda131e..b33f266bfd77db9d5b249b9144fc4b9aa2d1969c 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <gdk/gdkversionmacros.h>
 #include <gdk/gdktypes.h>
-#include <gio/gio.h>
 
 
 G_BEGIN_DECLS
index 428ddadafaaeb0c958e7cd3f4cbf332f6677a466..8b6dcf78eab08bb188d00cb2c18bbf08315831cd 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <gdk/gdkversionmacros.h>
 #include <gdk/gdktypes.h>
-#include <gio/gio.h>
 
 G_BEGIN_DECLS
 
index 85d51a0c4bc45b49538b9d984e800b9c0bb2dcb3..097b02c08f514f2a9970db3e46d8cedf1bb4c7af 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef __GDK_INTERNALS_H__
 #define __GDK_INTERNALS_H__
 
-#include <gio/gio.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include "gdkwindowimpl.h"
 #include "gdkdisplay.h"
index c362634037227f819ee9d4c16c46fb0a52959288..533bdface7edbb17775bc3d6f217bb970547b721 100644 (file)
 /* GDK uses "glib". (And so does GTK).
  */
 #include <glib.h>
-#include <pango/pango.h>
 #include <glib-object.h>
+#include <gio/gio.h>
 #include <cairo.h>
+#include <pango/pango.h>
 
 /* The system specific file gdkconfig.h contains such configuration
  * settings that are needed not only when compiling GDK (or GTK)